<extend name="Public/base"/>

<block name="body">
    <style>
        .item-label{
            color:#6e6b73;
        }
        .check-tips{
            color: #000;
            font-weight:bold;
        }
    </style>
    <div class="main-title">
        <h2>{$data.amazon_order_id}订单详情</h2>
    </div>
    <div class="form-item">
        <label class="item-label">亚马逊订单ID:<span class="check-tips">{$data.amazon_order_id}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">订单类型:<span class="check-tips">{$data.order_type}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">订单状态:<span class="check-tips">{$data.order_status}</span></label>
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">已发数量:<span class="check-tips">{$data.number_of_items_shipped}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">未发数量:<span class="check-tips">{$data.number_of_items_unshipped}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">订单金额:<span class="check-tips">{$data.order_total}</span></label>
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">配送方式:<span class="check-tips">{$data.fulfillment_channel}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">购买日期:<span class="check-tips">{$data.purchase_date}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">最后更新日期:<span class="check-tips">{$data.last_update_date}</span></label>
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">购买人姓名:<span class="check-tips">{$data.buyer_name}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">购买人邮箱:<span class="check-tips">{$data.buyer_email}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">国家代码:<span class="check-tips">{$data.CountryCode}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">州或地区:<span class="check-tips">{$data.StateOrRegion}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">城市:<span class="check-tips">{$data.City}</span></label>
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">邮编:<span class="check-tips">{$data.PostalCode}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
        <label class="item-label">详细地址:<span class="check-tips">{$data.Address}</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
    <br/>
    <div class="form-item">
        <label class="item-label">订单详情：</label>
        <div class="controls">
            <div class="data-table table-striped">
                <table class="">
                    <thead>
                        <tr>
                            <th class="">ASIN</th>
                            <th class="">SKU</th>
                            <th class="">标题</th>
                            <th class="">购买数量</th>
                            <th class="">发货数量</th>
                            <th class="">金额</th>
                            <th class="">运费金额</th>
                        </tr>
                    </thead>
                    <tbody class="js-create-list">
                    <notempty name="_list">
                        <volist name="_list" id="vo">
                            <tr>
                                <td>{$vo.asin}</td>
                                <td>{$vo.seller_sku}</td>
                                <td>{$vo.title}</td>
                                <td>{$vo.quantity_ordered}</td>
                                <td>{$vo.quantity_shipped}</td>
                                <td>{$vo.item_price}</td>
                                <td>{$vo.shipping_price}</td>
                            </tr>
                        </volist>
                    </notempty>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="form-item">
        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('AmazonOrder / info')}');
    </script>

</block>
